{
gchar *uuid_str = g_strndup (uuid.UTF8Characters, uuid.UTF8Length);
if (!uuid_is_valid (uuid_str))
- return FALSE;
+ {
+ g_free (uuid_str);
+ return FALSE;
+ }
g_dbus_proxy_call (obj->proxy,
"InstallRemoteExtension",
uuid_str = g_strndup (uuid.UTF8Characters, uuid.UTF8Length);
if (!uuid_is_valid (uuid_str))
- return FALSE;
+ {
+ g_free (uuid_str);
+ return FALSE;
+ }
res = g_dbus_proxy_call_sync (obj->proxy,
"UninstallExtension",
uuid_str = g_strndup (uuid.UTF8Characters, uuid.UTF8Length);
if (!uuid_is_valid (uuid_str))
- return FALSE;
+ {
+ g_free (uuid_str);
+ return FALSE;
+ }
res = g_dbus_proxy_call_sync (obj->proxy,
"GetExtensionInfo",
uuid_str = g_strndup (uuid.UTF8Characters, uuid.UTF8Length);
if (!uuid_is_valid (uuid_str))
- return FALSE;
+ {
+ g_free (uuid_str);
+ return FALSE;
+ }
res = g_dbus_proxy_call_sync (obj->proxy,
"GetExtensionErrors",